/* Test1.dat - First data file for CSE 361S Lab 2 */

/* Format:	name,
		score1,
		score2,
		score3,
		score4,
		score5,
		total,
		grade,
		EOR */

#define NUM_SCORES	5
#define NUM_RECORDS	7

typedef struct score_rec
{
    char	name[8];
    short	score[NUM_SCORES];
    int		total;
    char	grade;
    char	eor;
} score_rec;

static score_rec scores[NUM_RECORDS] =
	{ { "Happy",   98, 100,  92,  89,  99, 0, 'F', NULL },
	  { "Grumpy",  91,  86,  93,  89,  88, 0, 'F', NULL },
	  { "Sneezy",  80,  79,  83,  85,  72, 0, 'F', NULL },
	  { "Dopey",   72,  68,  63,  75,  71, 0, 'F', NULL },
	  { "Bashful", 64,  63,  62,  59,  60, 0, 'F', NULL },
	  { "Sleepy",  51,  48,  47,  53,  50, 0, 'F', NULL },
	  { "Doc",     40,  41,  33,  49,  35, 0, 'F', NULL } };

